<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>新浪微博用户分布地图</title>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>
        <script type="text/javascript" src="https://assets.pyecharts.org/assets/maps/china.js"></script>

</head>
<body>
    <div id="a45abf0fb01e47a6b77b5c1acdb7a72e" style="width:100%; height:600px;"></div>
    <script>
        var chart_a45abf0fb01e47a6b77b5c1acdb7a72e = echarts.init(
            document.getElementById('a45abf0fb01e47a6b77b5c1acdb7a72e'), 'white', {renderer: 'canvas'});
        var option_a45abf0fb01e47a6b77b5c1acdb7a72e = {
    "color": [
        "#c23531",
        "#2f4554",
        "#61a0a8",
        "#d48265",
        "#749f83",
        "#ca8622",
        "#bda29a",
        "#6e7074",
        "#546570",
        "#c4ccd3",
        "#f05b72",
        "#ef5b9c",
        "#f47920",
        "#905a3d",
        "#fab27b",
        "#2a5caa",
        "#444693",
        "#726930",
        "#b2d235",
        "#6d8346",
        "#ac6767",
        "#1d953f",
        "#6950a1",
        "#918597"
    ],
    "series": [
        {
            "type": "map",
            "name": "\u65b0\u6d6a\u5fae\u535a\u7528\u6237\u5206\u5e03\u5730\u56fe",
            "label": {
                "show": true,
                "position": "top",
                "margin": 8
            },
            "mapType": "china",
            "data": [
                {
                    "name": "\u798f\u5efa",
                    "value": 1031
                },
                {
                    "name": "\u4e91\u5357",
                    "value": 539
                },
                {
                    "name": "\u5c71\u897f",
                    "value": 567
                },
                {
                    "name": "\u6d59\u6c5f",
                    "value": 2074
                },
                {
                    "name": "\u5e7f\u897f",
                    "value": 551
                },
                {
                    "name": "\u5b89\u5fbd",
                    "value": 690
                },
                {
                    "name": "\u8fbd\u5b81",
                    "value": 842
                },
                {
                    "name": "\u8d35\u5dde",
                    "value": 1085
                },
                {
                    "name": "\u6cb3\u5357",
                    "value": 1007
                },
                {
                    "name": "\u5185\u8499\u53e4",
                    "value": 439
                },
                {
                    "name": "\u5e7f\u4e1c",
                    "value": 3397
                },
                {
                    "name": "\u56db\u5ddd",
                    "value": 1403
                },
                {
                    "name": "\u5409\u6797",
                    "value": 539
                },
                {
                    "name": "\u9999\u6e2f",
                    "value": 423
                },
                {
                    "name": "\u6fb3\u95e8",
                    "value": 103
                },
                {
                    "name": "\u9752\u6d77",
                    "value": 281
                },
                {
                    "name": "\u53f0\u6e7e",
                    "value": 385
                },
                {
                    "name": "\u5317\u4eac",
                    "value": 5579
                },
                {
                    "name": "\u6e56\u5357",
                    "value": 1172
                },
                {
                    "name": "\u91cd\u5e86",
                    "value": 947
                },
                {
                    "name": "\u897f\u85cf",
                    "value": 244
                },
                {
                    "name": "\u6c5f\u82cf",
                    "value": 1624
                },
                {
                    "name": "\u6e56\u5317",
                    "value": 975
                },
                {
                    "name": "\u5929\u6d25",
                    "value": 541
                },
                {
                    "name": "\u65b0\u7586",
                    "value": 407
                },
                {
                    "name": "\u9655\u897f",
                    "value": 734
                },
                {
                    "name": "\u6d77\u5357",
                    "value": 348
                },
                {
                    "name": "\u5b81\u590f",
                    "value": 265
                },
                {
                    "name": "\u7518\u8083",
                    "value": 354
                },
                {
                    "name": "\u6c5f\u897f",
                    "value": 522
                },
                {
                    "name": "\u5c71\u4e1c",
                    "value": 1415
                },
                {
                    "name": "\u6cb3\u5317",
                    "value": 815
                },
                {
                    "name": "\u4e0a\u6d77",
                    "value": 2053
                },
                {
                    "name": "\u9ed1\u9f99\u6c5f",
                    "value": 553
                },
                {
                    "name": "\u5176\u4ed6",
                    "value": 14650
                }
            ],
            "roam": true,
            "zoom": 1,
            "showLegendSymbol": true,
            "tooltip": {
                "show": true,
                "orient": "horizontal",
                "itemSize": 15,
                "itemGap": 10,
                "left": "80%",
                "feature": {
                    "saveAsImage": {
                        "show": true,
                        "title": "save as image",
                        "type": "png"
                    },
                    "restore": {
                        "show": true,
                        "title": "restore"
                    },
                    "dataView": {
                        "show": true,
                        "title": "data view",
                        "readOnly": false
                    },
                    "dataZoom": {
                        "show": true,
                        "title": {
                            "zoom": "data zoom",
                            "back": "data zoom restore"
                        }
                    }
                }
            }
        }
    ],
    "legend": [
        {
            "data": [
                "\u65b0\u6d6a\u5fae\u535a\u7528\u6237\u5206\u5e03\u5730\u56fe"
            ],
            "selected": {
                "\u65b0\u6d6a\u5fae\u535a\u7528\u6237\u5206\u5e03\u5730\u56fe": true
            },
            "show": true
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0
    },
    "title": [
        {
            "text": "\u65b0\u6d6a\u5fae\u535a\u7528\u6237\u5206\u5e03\u5730\u56fe"
        }
    ],
    "toolbox": {
        "show": true,
        "orient": "horizontal",
        "itemSize": 15,
        "itemGap": 10,
        "left": "80%",
        "feature": {
            "saveAsImage": {
                "show": true,
                "title": "save as image",
                "type": "png"
            },
            "restore": {
                "show": true,
                "title": "restore"
            },
            "dataView": {
                "show": true,
                "title": "data view",
                "readOnly": false
            },
            "dataZoom": {
                "show": true,
                "title": {
                    "zoom": "data zoom",
                    "back": "data zoom restore"
                }
            }
        }
    },
    "visualMap": {
        "type": "continuous",
        "min": 0,
        "max": 7494,
        "inRange": {
            "color": [
                "#50a3ba",
                "#eac763",
                "#d94e5d"
            ]
        },
        "calculable": true,
        "splitNumber": 5,
        "orient": "vertical",
        "showLabel": true
    }
};
        chart_a45abf0fb01e47a6b77b5c1acdb7a72e.setOption(option_a45abf0fb01e47a6b77b5c1acdb7a72e);
    </script>
</body>
</html>
